package com.example.testdemo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author caoh2
 * @Date 2023/3/18 3:34
 * @Description: TODO
 * @Version 1.0
 */
@RestController
@RequestMapping("/api/test")
public class TestController {

    @RequestMapping("/hello")
    public String hello() {
        return "hello";
    }
}
